FixAltText\HelpersLibrary\Scan_Process_Library D

Total Complexity 262
Dependencies 12
Dependents 0
Total lines 2,230
Lines of code 1,169
Logical lines of code 729
Comment lines 470
Methods 55
Properties 16

Methods 55

Method Rating Maintainability Complexity Lines of code
start()
D
30 30 117
process()
C
30 28 114
try_to_start()
C
31 25 100
handle()
B
40 18 58
queue()
A
44 16 42
complete()
A
41 9 60
get_group()
A
45 9 42
push_to_queue()
A
46 9 37
update()
A
50 8 27
update_progress()
A
48 7 34
get_queue_files()
S
57 7 16
display_progress_bar()
S
44 5 45
get_queue_count()
S
54 5 21
get_memory_limit()
S
56 5 17
start_admin_session()
S
56 4 17
set_scan_details()
S
68 5 6
get_queue_file_name()
S
59 4 14
pause()
S
51 3 24
resume()
S
51 3 24
maybe_handle()
S
57 3 17
memory_exceeded()
S
57 3 16
get_group_size()
S
58 3 16
display_scan_controls()
S
51 2 28
set_hooks()
S
49 1 38
cancel()
S
52 2 21
delete_all_scan_batches()
S
55 2 20
time_exceeded()
S
63 3 10
__construct()
S
59 2 14
get_post_args()
S
60 2 13
delete()
S
63 2 11
display_running_progress_bar()
S
61 2 11
handle_cron_healthcheck()
S
64 2 11
schedule_cron_healthcheck()
S
62 2 11
get_query_url()
S
68 2 7
can_we_start()
S
67 2 8
is_process_running()
S
71 2 6
lock_process()
S
68 2 6
get_queue_file_path()
S
70 2 6
schedule_event()
S
73 2 5
get_prepend_flag()
S
69 2 7
clear_scheduled_event()
S
71 2 6
get_query_args()
S
64 2 10
get_time_limit()
S
78 1 3
init()
S
70 1 6
get_cron_interval()
S
70 1 6
display_paused_progress_bar()
S
66 1 8
dispatch()
S
70 1 6
is_queue_empty()
S
80 1 3
get_end_marker()
S
81 1 3
get_delimiter_marker()
S
81 1 3
pause_process()
S
81 1 3
cancel_process()
S
77 1 4
unlock_process()
S
80 1 3
generate_key()
S
71 1 5
get_identifier()
S
82 1 3